Skip to content

PG server updates to fix llvm issue + Spock 5.0.9 updates#22

Merged
maqeel75 merged 5 commits into
mainfrom
spock-509-updates
Jun 12, 2026
Merged

PG server updates to fix llvm issue + Spock 5.0.9 updates#22
maqeel75 merged 5 commits into
mainfrom
spock-509-updates

Conversation

@maqeel75

@maqeel75 maqeel75 commented Jun 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4deca86b-1c1c-45cb-9c96-1fb55990aff7

📥 Commits

Reviewing files that changed from the base of the PR and between 2f63e83 and b1b8b88.

📒 Files selected for processing (1)
  • Dockerfile
🚧 Files skipped from review as they are similar to previous changes (1)
  • Dockerfile

📝 Walkthrough

Walkthrough

Upgrade Spock from 5.0.8 to 5.0.9 across image package lists for amd64 and arm64 (Postgres 16.14, 17.10, 18.4), adjust Dockerfile pip install to a wildcard pattern and bump patroni to 4.1.3, and update build script to use spock_version=5.0.9.

Changes

Spock 5.0.9 release upgrade

Layer / File(s) Summary
Docker base image python3-pip flexibility
Dockerfile
standard stage now installs python3-pip-21.3.1-* (wildcard) and updates patroni[etcd,jsonlogger] to 4.1.3, keeping the dnf remove -y python3-pip step.
AMD64 package manifests for Spock 5.0.9
packagelists/amd64/pg16.14-spock5.0.9-*.txt, packagelists/amd64/pg17.10-spock5.0.9-*.txt, packagelists/amd64/pg18.4-spock5.0.9-*.txt
Added/updated amd64 package lists to reference pgedge-postgresql revised micro-releases and pgedge-spock50 5.0.9 variants; minimal flavors include snowflake and lolor.
ARM64 package manifests for Spock 5.0.9
packagelists/arm64/pg16.14-spock5.0.9-*.txt, packagelists/arm64/pg17.10-spock5.0.9-*.txt, packagelists/arm64/pg18.4-spock5.0.9-*.txt
Added/updated arm64 package lists to reference pgedge-postgresql revised micro-releases and pgedge-spock50 5.0.9 variants; minimal flavors include snowflake and lolor.
Build script spock_version bump
scripts/build_pgedge_images.py
Updated make_all_flavor_images(...) calls for pg16/pg17/pg18 to use spock_version=5.0.9.

Poem

🐰 I hopped through manifests with a tiny cheer,
nudged Spock to 5.0.9 and danced on the tier.
AMD64 and ARM64 got new little tags,
Docker loosened pip while Patroni found bags.
Images march onward — the rabbit claps its ears!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning No description was provided by the author; this is a very lenient check and should fail when description is completely absent or off-topic. Add a description explaining the changes, such as the LLVM issue being fixed and the Spock version update details.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main changes: PostgreSQL server updates and Spock version bump to 5.0.9, which are the primary modifications across the Dockerfile, package lists, and build scripts.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch spock-509-updates

Comment @coderabbitai help to get the list of available commands and usage tips.

@codacy-production

codacy-production Bot commented Jun 1, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Dockerfile`:
- Line 113: The dnf install call uses a wildcard RPM name
('python3-pip-21.3.1-*') which causes non-reproducible installs; introduce a
build ARG (e.g., PY3_PIP_NEVRA) and replace the wildcard with that exact NEVRA
value in the install command so the exact RPM is pinned, and use the same ARG
value for any later remove/cleanup (ensure the ARG is documented/defaulted in
the Dockerfile). Locate the install line that references python3-pip-21.3.1-*
and update it to use the new build argument (and update the corresponding
remove/cleanup invocation) so rebuilds use the exact NEVRA provided at build
time.

In `@scripts/build_pgedge_images.py`:
- Line 169: The script currently hardcodes package_release_channel="staging" in
multiple call sites; change those to read the channel from a configurable source
(e.g., an environment variable like PGEDGE_RELEASE_CHANNEL or a top-level config
variable) and default to "stable" when the env/config is unset; update all
occurrences that set package_release_channel (the three places shown) to use the
new config variable (or os.environ.get fallback) so builds can target the proper
release channel instead of always forcing "staging".
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: f9a153c4-d040-4a3f-9d21-b59148b2b1d0

📥 Commits

Reviewing files that changed from the base of the PR and between a358b50 and 346e2ce.

📒 Files selected for processing (20)
  • Dockerfile
  • packagelists/amd64/pg16.14-spock5.0.8-minimal.txt
  • packagelists/amd64/pg16.14-spock5.0.9-minimal.txt
  • packagelists/amd64/pg16.14-spock5.0.9-standard.txt
  • packagelists/amd64/pg17.10-spock5.0.8-minimal.txt
  • packagelists/amd64/pg17.10-spock5.0.9-minimal.txt
  • packagelists/amd64/pg17.10-spock5.0.9-standard.txt
  • packagelists/amd64/pg18.4-spock5.0.8-minimal.txt
  • packagelists/amd64/pg18.4-spock5.0.9-minimal.txt
  • packagelists/amd64/pg18.4-spock5.0.9-standard.txt
  • packagelists/arm64/pg16.14-spock5.0.8-minimal.txt
  • packagelists/arm64/pg16.14-spock5.0.9-minimal.txt
  • packagelists/arm64/pg16.14-spock5.0.9-standard.txt
  • packagelists/arm64/pg17.10-spock5.0.8-minimal.txt
  • packagelists/arm64/pg17.10-spock5.0.9-minimal.txt
  • packagelists/arm64/pg17.10-spock5.0.9-standard.txt
  • packagelists/arm64/pg18.4-spock5.0.8-minimal.txt
  • packagelists/arm64/pg18.4-spock5.0.9-minimal.txt
  • packagelists/arm64/pg18.4-spock5.0.9-standard.txt
  • scripts/build_pgedge_images.py
💤 Files with no reviewable changes (6)
  • packagelists/amd64/pg16.14-spock5.0.8-minimal.txt
  • packagelists/arm64/pg18.4-spock5.0.8-minimal.txt
  • packagelists/amd64/pg18.4-spock5.0.8-minimal.txt
  • packagelists/arm64/pg16.14-spock5.0.8-minimal.txt
  • packagelists/amd64/pg17.10-spock5.0.8-minimal.txt
  • packagelists/arm64/pg17.10-spock5.0.8-minimal.txt

Comment thread Dockerfile
Comment thread scripts/build_pgedge_images.py Outdated
@maqeel75 maqeel75 changed the title Spock 509 updates PG server updates to fix llvm issue + Spock 5.0.9 updates Jun 1, 2026
@maqeel75 maqeel75 requested a review from mmols June 1, 2026 16:55
@maqeel75 maqeel75 requested a review from moizpgedge June 11, 2026 17:54

@moizpgedge moizpgedge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the image suite on all 6 images (16.14/17.10/18.4 × standard+minimal) — all pass; Postgres + Patroni boot and all extensions work.
Diff looks good: versions consistent across all packagelists (spock 5.0.9, PG -2, both arches/flavors), build script + Dockerfile changes fine.
Verified against the Control Plane: 3-node 18.4 cluster reports Spock 5.0.9 on every node with working multi-active replication; 16.14 and 17.10 also deploy on 5.0.9.

@maqeel75 maqeel75 merged commit c8001cb into main Jun 12, 2026
31 checks passed
@maqeel75 maqeel75 deleted the spock-509-updates branch June 12, 2026 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants